//
//  MeChangeTableViewCell.m
//  BGM
//
//  Created by liuqin on 2018/12/5.
//  Copyright © 2018 com.alirtc.demo. All rights reserved.
//

#import "MeChangeTableViewCell.h"

@implementation MeChangeTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self != nil) {
        self.seleBtn = [[UIButton alloc]initWithFrame:CGRectMake(15, 15, 30, 30)];
        [self.seleBtn setImage:[UIImage imageNamed:@"tittleSele"] forState:UIControlStateSelected];
        [self.seleBtn setImage:[UIImage imageNamed:@"titleNormal"] forState:UIControlStateNormal];
        [self addSubview:self.seleBtn];
        [self.seleBtn addTarget:self action:@selector(clickBtn:) forControlEvents:UIControlEventTouchUpInside];
        
        self.usertltleLabel = [[UILabel alloc]initWithFrame:CGRectMake(60, 15, 200, 30)];
        self.usertltleLabel.font = [UIFont systemFontOfSize:15];
        [self addSubview:self.usertltleLabel];
    }
    return self;
}

- (void)clickBtn:(UIButton *)btn{
    [self.changeCellDelegate clikSeleBtn:btn];
}



@end
